<template>
  <div id="app">
    <my-demo :person="obj"></my-demo>
    <my-test :person="obj"></my-test>
  </div>
</template>

<script>
import MyDemo from './components/01-单向数据流.vue'
import MyTest from './components/01-MyTest.vue'
export default {
  name: 'App',
  components: {
    MyDemo,
    MyTest
  },
  data(){
    return {
      obj:{
        name:'海龙',
        age:6,
        demo:{
          price:10
        }
      }
    }
  },

}
</script>

